<div class="row">
	<?php echo $form->labelEx($model,'title_'.$lang); ?>
	<?php echo $form->textField($model,'title_'.$lang,array('style'=>'width:860px;','maxlength'=>255)); ?>
	<?php echo $form->error($model,'title_'.$lang); ?>
</div>

<div class="row">
	<?php echo $form->labelEx($model,'preview_'.$lang); ?>
	<?php echo $form->textArea($model,'preview_'.$lang,array('style'=>'width:860px;')); ?>
	<?php echo $form->error($model,'preview_'.$lang); ?>
</div>

<div class="row">
	<?php echo $form->labelEx($model,'body_'.$lang); ?>
	<?php
		$this->widget('application.modules.editor.EImperaviRedactorWidget',array(
			'model'=>$model,
			'attribute'=>'body_'.$lang,

			'htmlOptions' => array(
				'class' => 'editor_textarea',
				'style' => 'width: 870px;',
			),

			'options'=>array(
				'toolbar'=>'custom', /*original, classic, mini, */
				'lang' => Yii::app()->language,
				'focus' => false,
			),
		));
	 ?>
<?php echo $form->error($model,'body_'.$lang); ?>
</div>

<?php
	if (!$model->isNewRecord)
		$this->widget('application.modules.seo.components.WSaveMetaInformation', 
				array(
					'pageId'=>'news-default-view-'.$lang.'-'.$model->id
				)
		);
?>